package io.itit.ecp.admin.provide.action.req;

import io.itit.grass.common.provide.action.req.BasePageReq;
import io.itit.grass.common.provide.action.validation.IOther;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *
 * @Author：Roy
 * @Description：空间查询参数
 * @Date：Create by 2023-11-23 10:29:25
 */
@Data
@ToString
@ApiModel("空间查询参数")
public class SceneRoomQueryReq extends BasePageReq {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty("主键集合")
	private List<String> ids;

	@ApiModelProperty("主键ID")
	private String id;

	@ApiModelProperty("项目ID")
	private String sceneProjectId;

	@NotBlank(groups = {IOther.class})
	@ApiModelProperty("楼栋ID")
	private String sceneEdificeId;

	@ApiModelProperty("楼栋名称")
	private String edificeName;

	@ApiModelProperty("楼层ID")
	private String sceneFloorId;

	@ApiModelProperty("公司ID")
	private String sceneCompanyId;

	// 主要用于新增编辑公司时，只查询没有被关联的空间
	@ApiModelProperty("公司ID为空, 不传为否")
	private Integer nullCompanyId;

	@ApiModelProperty("空间名称")
	private String roomName;

	@ApiModelProperty("面积(m²)")
	private BigDecimal roomArea;

	@ApiModelProperty("机构Id")
	private String deptId;

}
